home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9406 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.2 KB  |  69 lines

  1. Newsgroups: comp.lang.modula3,comp.lang.c++,comp.lang.java
  2. Path: ERA.COM!era!spencer
  3. From: spencer@ERA.COM (Spencer Allain)
  4. Subject: Re: Java closer to Modula-3 than to C++
  5. In-Reply-To: Louis-Dominique Dubeau's message of Fri, 01 Mar 1996 10: 30:46
  6.     -0500
  7. Message-ID: <SPENCER.96Mar1111456@zorgon.ERA.COM>
  8. Sender: news@ERA.COM
  9. Organization: Engineering Research Associates, Vienna, VA
  10. References: <31308FE2.167E@sophia.inria.fr>
  11.     <1996Feb26.192508.2614@friend.kastle.com>
  12.     <nelsoni.825385012@rintintin.Colorado.EDU>
  13.     <xn17mx9fnt6.fsf@renoir.cs.columbia.edu>
  14.     <31371826.60F278B8@step.polymtl.ca>
  15. Date: Fri, 1 Mar 1996 16:14:56 GMT
  16.  
  17. In article <31371826.60F278B8@step.polymtl.ca> Louis-Dominique Dubeau <ldd@step.polymtl.ca> writes:
  18.  
  19.    Blair MacIntyre wrote:
  20.    > C++ give you all kinds of "control" and "power" by allowing you to
  21.    > apparently do all kinds of variations and nit-picky things that allow
  22.    > you to "optimize" your programs.
  23.  
  24.    This is the job of the compiler.
  25.  
  26.    > The most common reason I get for using C++, when I try to convince
  27.    > people that they should learn Modula-3 instead, is that C++ gives them
  28.    > more power and control.
  29.  
  30.    Have you heard about assembly? BTW, if for some reason there is
  31.    something you have to do in C or assembly, you can call it from M3 code.  
  32.  
  33.    > Modula-3 doesn't have constructors/destructors,
  34.  
  35.    Where's the problem?
  36.  
  37.    > GC is evil because it has lots of overhead, 
  38.  
  39.    Can you support this affirmation?
  40.  
  41.    > you can do threads in C++, 
  42.  
  43.    True but C++ does not have the nice mutex control statements of
  44.    Modula-3.
  45.  
  46.    > no multiple inheritance
  47.  
  48.    Have you heard about aggregates.  Besides I can't remember when was the
  49.    last time I neede multiple inheritance.
  50.  
  51.    > C++ has exceptions now, etc etc.
  52.  
  53.    That's new.
  54.  
  55.    > People don't
  56.    > seem to be as concerned about things like suitability to building
  57.    > large programs, distributed programs, working programs, robust
  58.    > programs, etc etc.
  59.  
  60.    This is why they go bankrupt.
  61.  
  62.        ldd
  63.  
  64. Uhh... good answers, but Blair wasn't stating those things as his
  65. opinions; he was just reiterating what other people use as their
  66. "convincing" arguments as to why not to switch to Modula-3.
  67.  
  68. -Spencer
  69.